package com.hdoit.ares.logical.acc.service;

import java.util.Date;
import java.util.List;

import com.hdoit.ares.logical.acc.model.IncomeDetail;
import com.hdoit.ares.logical.viewmodel.acc.FindIncomeDetail;
import com.hdoit.ares.logical.viewmodel.acc.IncomeDetailSearch;
import com.tennetcn.common.dao.base.ISuperService;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年12月19日 11:09:51
 * @comment
 */
public interface IIncomeDetailService extends ISuperService<IncomeDetail>{

	public List<IncomeDetail> queryIncomeDetailInfo(String custId);
	
	public List<IncomeDetail> queryIncomeDetail(IncomeDetailSearch search,String custId);
	
	// 查询总收入
    public IncomeDetail querySumIncomeMoney(FindIncomeDetail findIncomeDetail,String custId);

	// 查询总支出
	public IncomeDetail querySumExpendMoney(FindIncomeDetail findIncomeDetail,String custId);
	
	public Boolean updateHesitatePeriodState(Date lastDate);

	//在犹豫期的奖金总额
	public IncomeDetail queryIncomeInHesitate(String id);
	
	//按条件查询
	public List<IncomeDetail> queryIncomeDetail(FindIncomeDetail findIncomeDetail,String custId);
	
	//按奖金详情Id查询
	public IncomeDetail queryIncomeDetail(String id);
	
	//分页查询奖金详情列表
	public List<IncomeDetail> queryIncomeList(FindIncomeDetail findIncomeDetail,String custId,Integer start,Integer length);
	/*//分页查询奖金总收入
	public IncomeDetail querySumIncome(FindIncomeDetail findIncomeDetail,String custId,Integer start,Integer length);
	//分页查询奖金总支出
	public IncomeDetail querySumExpend(FindIncomeDetail findIncomeDetail,String custId,Integer start,Integer length);*/
}
